<?php
namespace App\Controllers;

use App\Services\QiNiuService;
use Carbon\Carbon;
use Framework\BaseController;
use Kra8\Snowflake\Snowflake;


class QiNiuController extends BaseController
{

    /**
     * 获取token
     * @param QiNiuService $service
     * @return mixed
     */
    public function getToken(QiNiuService $service)
    {
        return $this->retSuccess($service->getQiNiuToken());
    }




}
